using System;
using Microsoft.SPOT;

namespace Gadgeteer.Interfaces.Network
{
    /// <summary>
    /// Represents the state of a network connection.
    /// </summary>
    public enum NetworkState
    {
        /// <summary>
        /// The network connection is properly configured and able to perform network communication tasks.
        /// </summary>
        Up = 0,

        /// <summary>
        /// The network connection is down. This might indicate an invalid configuration for the connection or disconnected media.
        /// </summary>
        Down = 1,
    }
}
